<div class="x-wrap">
	<div class="x-header">
		<div class="x-title"><i class="fa fa-2x fa-filter"></i><span class="title-text">检验规则</span></div>
	</div>
	<div class="x-panel">
		<div class="x-toolbar">
			<div class="fl x-btn-group">
				<button type="button" class="x-btn" ng-click="add()"><i class="fa fa-file-o"></i><span class="btn-text">新建</span></button>
				<button type="button" class="x-btn" ng-disabled="!hasSelected()" ng-click="edit()"><i class="fa fa-edit"></i><span class="btn-text">编辑</span></button>
				<button type="button" class="x-btn" ng-disabled="!hasSelectedRecords()" ng-click="remove()"><i class="fa fa-minus-circle"></i><span class="btn-text">删除</span></button>
			</div>
			<div class="fr x-query">
				<form name="form" novalidate="novalidate" ng-submit="query()">
					<input type="text" ng-model="q.ruleName" class="x-ipt" placeholder="请输入规则名称" /><select ng-model="q.ruleType"><option value="">请选择规则类型</option><option value="1">指标检验</option><option value="2">资源目录检验规则</option></select><button type="submit" class="fa fa-search x-btn-query"></button>
				</form>
			</div>
		</div>
		<div class="x-grid-fixed" grid-view="gridOptions" grid-selection grid-paging></div>
	</div>
</div>